//
//  CheckstandBottomView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/18.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "CheckstandBottomView.h"

@implementation CheckstandBottomView

-(id)initWithFrame:(CGRect)aFrame inSuperView:(UIView *)aSuperView{
    if (self = [super initWithFrame:aFrame inSuperView:aSuperView]) {
        self.backgroundColor = [UIColor whiteColor];
        GLGWLabel * titLabel = [[GLGWLabel alloc] initWithFrame:CGRectMake(kWidthProportion_In_iPhoneTriploid(15), 0, KScreenWidth - kWidthProportion_In_iPhoneTriploid(30), kHeightProportion_In_iPhoneTriploid(40)) theFont:SYSTEMFONT(14) theColor:[UIColor colorWithHexString:@"#999999"] inSuperView:self];
        titLabel.numberOfLines = 0;
        titLabel.text = @"温馨提示\n冻结金额将支付给钢来钢往保管，请放心支付";
        //
        GLGWButton * payBut = [[GLGWButton alloc] initWithTitle:@"去支付" titleLableFont:SYSTEMFONT(16) titleLableColor:[UIColor whiteColor] inSuperView:self];
        payBut.backgroundColor = kColor_Rule_Yellow;
        [payBut mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.bottom.equalTo(self).offset(0);
            make.height.equalTo(@(kHeightProportion_In_iPhoneTriploid(44)));
        }];
    }
    return self;
}

@end
